package org.matrix;

/**
 * @author: 默苍璃
 * @date: 2023-04-12 10:21
 * <p>
 * 定义三元组
 */
public class Triple {
    public int x;
    public int y;
    private double value;


    /**
     * 构造三元组
     *
     * @param x
     * @param y
     * @param data
     */
    public Triple(int x, int y, double data) {
        this.x = x;
        this.y = y;
        this.value = data;
    }

    public double getData() {
        return value;
    }

}

